import Ticket from './ticket';
import TicketDetail from './ticket-detail';

import groupBuyingCode from "./groupBuyingCode" // 团购管理板块


import mineProfile from "./profile" //个人中心

import activation from "./activation" //h5激活码激活
import agreement from "./activation/agreement" //海外激活协议
import agreementChine from "./activation/agreementChine" //中国激活协议
import registerSuccess from "./activation/registerSuccess" //h5激活码激活成功

export default [{
    path: '/mine',
    name: 'mine',
    component: Ticket,
    meta: {
      title: '我的门票',
      dingtalk: true
    }
  }, {
    path: '/mine/ticket',
    name: 'mineTicket',
    component: TicketDetail,
    meta: {
      title: '票详情',
      dingtalk: true
    }
  }, {
    path: '/mine/groupBuyingCode',
    name: 'groupBuyingCode',
    component: groupBuyingCode,
    meta: {
      title: '团购激活码',
      dingtalk: true
    }
  }, {
    path: '/mine/profile',
    name: 'mineProfile',
    component: mineProfile,
    meta: {
      title: '个人中心',
      dingtalk: true
    }
  }, {
    path: '/mine/activation',
    name: 'activation',
    component: activation,
    meta: {
      title: '门票激活',
      dingtalk: false,
      auth: false
    }
  }, {
    path: '/mine/agreement',
    name: 'agreement',
    component: agreement,
    meta: {
      title: '协议',
      dingtalk: false,
      auth: false
    }
  },
  {
    path: '/mine/agreementChine',
    name: 'agreementChine',
    component: agreementChine,
    meta: {
      title: '协议',
      dingtalk: false,
      auth: false
    }
  },
  {
    path: '/mine/registerSuccess',
    name: 'registerSuccess',
    component: registerSuccess,
    meta: {
      title: '激活成功',
      dingtalk: false,
      auth: false
    }
  }
];
